package here.android.herehelper;

import java.io.IOException;

import android.os.Bundle;
import android.app.Activity;
import android.widget.TextView;

public class MainActivity extends Activity
{
	hereSocketServer	server	= null;

	@Override
	protected void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		TextView tv = new TextView(this);
		tv.setText("Hello. I started!");
		setContentView(tv);
/*
		try
		{
			server = new hereSocketServer( );
			server.SetAppContext(getApplicationContext( ));
		}
		catch ( IOException e )
		{
			// TODO Auto-generated catch block
			e.printStackTrace( );
		}

		new Thread(new Runnable( )
		{
			public void run()
			{
				server.startServer( );
			}
		}).start( );
		*/
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see android.app.Activity#onResume()
	 */
	@Override
	protected void onResume()
	{
		// TODO Auto-generated method stub
		super.onResume( );
		//this.finish( );
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see android.app.Activity#onPause()
	 */
	@Override
	protected void onPause()
	{
		// TODO Auto-generated method stub
		super.onPause( );
	}

}
